package com.example.zx_springboot.mapper;

import com.example.zx_springboot.entity.ZxRole;
import com.example.zx_springboot.entity.Zxicon;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface Zx_RoleMapper {
    List<ZxRole> selectrole(String role_name);
    ZxRole loginrole(String role_name);
    List<ZxRole> getall();
    List<ZxRole> getalluser();

    void upadte(ZxRole zxRole);

    void delete(Integer role_id);

    void add(ZxRole zxRole);

    void deletemenus(Integer role_id);



    void addmenu(Map<String, Integer> paramMap);

    List<Integer> exitmenus(Integer role_id);

    List<Zxicon> geticon();
}
